package club.zhilin.guli.service.edu.mapper;

import club.zhilin.guli.service.edu.domain.CourseCollect;
import club.zhilin.guli.service.edu.domain.vo.CourseCollectVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 课程收藏 Mapper 接口
 * </p>
 *
 * @author zhilin
 * @since 2022-01-11 15:29:01
 */
public interface CourseCollectMapper extends BaseMapper<CourseCollect> {

    /**
     * 通过课程id查询课程收藏列表
     *
     * @param memberId 会员id
     * @return courseCollectVo
     */
    List<CourseCollectVO> selectCourseCollectVo(String memberId);
}
